import Vue from 'vue'
import VueRouter from 'vue-router'
import Merchandise from '../views/Merchandise.vue'  //首页

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'Merchandise',
    component: Merchandise
  },
  {
    path: '/evaluate',
    name: 'Evaluate',
    component: () => import( '../views/Evaluate.vue')
  },  {
    path: '/store',
    name: 'Store',
    component: () => import('../views/Store.vue')
  }
]

const router = new VueRouter({
  routes
})

export default router
